<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/14 0014
 * Time: 10:10
 */

namespace app\author\controller;
use think\Controller;
class Allow extends Controller
{
    public function __construct(){
        parent::__construct();
        if(empty(session('author_member_id'))){

            $this->error("请先登录",'author/login/login');

        }
    }
}